<template>
  <div>
    <el-input
      v-if="state.record.private_key"
      v-model="state.record.private_key"
      readonly
      :rows="5"
      type="textarea"
      placeholder="请输入域名，一行一个，最多10个"
    />
    <section v-else class="text-center">
      <table-empty />
    </section>
  </div>
</template>
<script lang="ts" setup>
import type { SelfCertDetailModel } from '@/apis/model/selfCert'

interface IProps {
  record: SelfCertDetailModel
}
const props = defineProps<IProps>()
const state = toRef(props)
</script>

<style lang="scss" scoped></style>
